package com.zhou.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description : 积分总表
 * @Author : zyy
 * @Date: 2024/6/21  11:25
 */
@Data
@Schema(name = "积分总表", description = "积分总表实体类")
public class Integral {

    @Schema(name = "积分id", type = "string")
    @TableId("integral_id")
    @ExcelProperty("积分id")
    private String integralId;

    @Schema(name = "用户id", type = "string")
    @TableField("user_info_id")
    @ExcelProperty("用户id")
    private String userInfoId;

    @Schema(name = "积分总数", type = "bigDecimal")
    @TableField("integral_number")
    @ExcelProperty("积分总数")
    private BigDecimal integralNumber;

    @Schema(name = "0 启用 1停用", type = "int")
    @TableField("is_status")
    @ExcelIgnore
    private Integer isStatus;
}
